import { IconAwaitExamineColor, IconFailExamineColor } from "../utils/iconMap";

/**
 * 推荐官申请审核状态
 * 1.待审核
 * 2.未通过
 * 3.已通过
 */
export const recommendApplyExamineStatus = {
  /** 1.待审核 */
  await: 1,
  /** 2.未通过 */
  notPass: 2,
  /** 3.已通过 */
  pass: 3,
};

export const recommendApplyExamineStatusConfig = {
  [recommendApplyExamineStatus.await]: {
    value: recommendApplyExamineStatus.await,
    label: "待审核",
    desc: "请耐心等待管理员审核！",
    icon: IconAwaitExamineColor,
    style: {
      color: "#FFC107",
    },
  },
  [recommendApplyExamineStatus.notPass]: {
    value: recommendApplyExamineStatus.notPass,
    label: "未通过",
    desc: "管理员已驳回，请重新提交",
    icon: IconFailExamineColor,
    style: {
      color: "#F44336",
    },
  },
  [recommendApplyExamineStatus.pass]: {
    value: recommendApplyExamineStatus.pass,
    label: "已通过",
    desc: "管理员已审核通过",
    icon: null,
    style: {
      color: "#4CAF50",
    },
  },
};
